/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import view.menuView;

/**
 *
 * @author JorgeLuis
 */
public class menuController {
    
    private menuView view = new menuView();
    private mainController mainController;

    public menuController() {
        this.view.controller(this);
    }

    public menuView getView() {
        return view;
    }

    public void setState(String event) {
        
//        switch(event){
//            case "select":
//                break;
//        }
       this.mainController.setState(event);
    }

    public void mainController(mainController aThis) {
        this.mainController = aThis;
    }
    
    
    
}
